package com.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "热点书籍", description = "用于app首页的热点书籍")
public class HotBooks {
    /*编号*/
    @ApiModelProperty(value = "id", example = "1")
    private Integer id;
    /*名字*/
    @ApiModelProperty(value = "书籍名称", example = "宋代物价研究")
    private String name;
    /*封面图片*/
    @ApiModelProperty(value = "书籍封面", example = "http://47.96.160.116:9090/files/1722233760076-宋代物价研究.png")
    private String img;
    /*收藏量*/
    @ApiModelProperty(value = "收藏数量", example = "1")
    private String collect;
    /*介绍*/
    @ApiModelProperty(value = "书籍简介", example = "系统地考证和研究了两宋三百余年的土地、房屋、矿产、服饰、家畜、家禽、文房四宝以及日杂用品等的交换价格，共计13大类283种，并在书中作了详尽地剖析。")
    private String detail;
    /*作者*/
    @ApiModelProperty(value = "书籍作者", example = "程民生")
    private String author;
    @ApiModelProperty(value = "用于找书(一般为null)", example = "应用https://127.0.0.1:9090/hotbooks/selectAll?booksname=研究")
    private String booksname;

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    @ApiModelProperty(value = "书籍id与books表的id相对应", example = "11")
    private String bid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getCollect() {
        return collect;
    }

    public void setCollect(String collect) {
        this.collect = collect;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getBooksname() {
        return booksname;
    }

    public void setBooksname(String booksname) {
        this.booksname = booksname;
    }
}
